package cn.hloger.spider.demo.dataxDemo.verify;

/**
 * 定义常量
 *
 * @author Ken.Zheng
 */
public class Constants {

    private Constants() {
    }

    /**
     * es
     */
    public static final String ES_DOC = "_doc";

    /**
     * es分片数
     */
    public static final String ES_INDEX_SHARDS = "index.number_of_shards";

    /**
     * es副本数
     */
    public static final String ES_INDEX_REPLICAS = "index.number_of_replicas";

    /**
     * token
     */
    public static final String AUTH_TOKEN = "token";

    /**
     * 默认集合大小
     */
    public static final Integer DEFAULT_COLLECTION_SIZE = 16;

    /**
     *
     */
    public static final Integer THREAD_POOL_SIZE_SCHEDULED = 10;

    /**
     *
     */
    public static final String ZRW_ID_REG = "[\\d]+";

    /**
     * regrex
     */
    public static final String PCH_REG = "[A-Za-z0-9]+";
    public static final String DEFAULTPATH = "/home/datax/ftptmpfile/";

    // 文件传输filewriter临时文件目录
    public static final String FILEWRITER_DEFAULTPATH = "/home/datax/filewriter/tmpfile/";

    /**
     * Datax 日志是否保存到ES中的开关
     */
    public static final String ES_LOG_OPEN = "open";

    /**
     *
     */
    public static final Integer DATA_PREVEW = 9;

    /**
     * 输出日志中 待删除文件  标识
     */
    public static final String NEED_DELETE_FILE = "待删除文件:";

    /**
     * 输出日志中 待删除文件  标识
     */
    public static final String RWLY_DINTEGRATION = "01";
}





